
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
    <meta name="author" content="">
    <title>添加门店</title>
    <% include("../inc/input_css.html"){}%>
    <style>
        label{
            width: 240px!important;
        }
    </style>
</head>

<body>
<div class="ibox">
    <div class="ibox-title">
        <div class="pull-left mbx navbar_title"><span class="current">配置中心 </span>
            <span class="line">/</span>
            系统配置
        </div>
    </div>
    <div class="ibox-content">
        <div class="colorful-tab-wrapper" id="colorful-flatline">
            <ul class="colorful-tab-menu ">
                <li class="colorful-tab-menu-item active relative_position">
                    <a href="#fl-0">系统设置</a>
                    <div class="tab_div">
                    </div>
                </li>
                <li class="colorful-tab-menu-item relative_position margin-left_-15">
                    <a href="#fl-1">品牌设置</a>
                    <div class="tab_div">
                    </div>
                    <!--<span class="notice">6</span>-->
                </li>
                <li class="colorful-tab-menu-item relative_position margin-left_-15">
                    <a href="#fl-2">代理商推荐设置</a>
                    <div class="tab_div">
                    </div>
                </li>

            </ul>
            <div class="colorful-tab-container margin-top-8">
                <form action="/sys/config/update" method="post" class="form-horizontal form-validate">
                    <input type="hidden" name="plateformConfig.id" value="${plateformConfig.id!}"/>
                    <div class="colorful-tab-content active" id="fl-0">
                        <div class="row padding-right-20">
                            <div class="col-md-12 padding-bottom-0">
                                <div class="wrapper wrapper-content">
                                    <div class="row">
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon">*</span>短信签名</label>
                                            <div class="col-sm-3 col-md-3  col-lg-2 ">
                                                <input  name="plateformConfig.sms_signature" value="${plateformConfig.sms_signature!}" minlength="2" class="form-control light-input">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon">*</span>系统名称</label>
                                            <div class="col-sm-3 col-md-3  col-lg-2 ">
                                                <input  name="plateformConfig.system_name" value="${plateformConfig.system_name!}" class="form-control light-input" placeholder="请输入系统名称" data-rule-required="true" >
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon">*</span>分享提成</label>
                                            <div class="col-sm-4">
                                                <input style="width: 12%;float: left" name="plateformConfig.sharePercent" value="${plateformConfig.sharePercent!'3'}" class="form-control light-input" placeholder="请输入分享提成" data-rule-required="true" onkeyup="this.value=this.value.replace(/\D/g,'')" onblur="this.value=this.value.replace(/\D/g,'')" >
                                                <label class="control-label" style="margin-left: 5px;float: left;width: 50px!important;text-align: left;">%</label>
                                            </div>
                                        </div>
                                        <!--<div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon">*</span>商品返利</label>
                                            <div class="col-sm-4">
                                                <input style="width: 12%;float: left" name="plateformConfig.productRebatePercent" value="${plateformConfig.productRebatePercent!'3'}" class="form-control light-input" placeholder="请输入分享提成" data-rule-required="true" >
                                                <label class="control-label" style="margin-left: 5px;float: left;width: 50px!important;text-align: left;">%</label>
                                            </div>
                                        </div>-->
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon">&nbsp;</span>系统LOGO</label>
                                            <div class="col-sm-3">
                                                <input type="hidden" name="plateformConfig.system_logo" value="${plateformConfig.system_logo!}" class="pull-left form-control input-sm"/>
                                                <img class="img-rounded" src="${plateformConfig.system_logo!}" style="max-height:50px;"/>
                                                <input type="button" class="button browserButton" value="选择文件" style="line-height: normal"/>
                                                <span class="help-block"><span class="maroon"></span>建议300*300像素；格式jpg</span>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon">&nbsp;</span>商城LOGO</label>
                                            <div class="col-sm-3">
                                                <input type="hidden" name="plateformConfig.shopLogo" value="${plateformConfig.shopLogo!}" class="pull-left form-control input-sm"/>
                                                <img class="img-rounded" src="${plateformConfig.shopLogo!}" style="max-height:50px;"/>
                                                <input type="button" class="button browserButton" value="选择文件" style="line-height: normal"/>
                                                <span class="help-block"><span class="maroon"></span>建议300*300像素；格式jpg</span>
                                            </div>
                                        </div>

                                    </div>
                                </div>


                            </div>
                        </div>

                    </div>
                    <div class="colorful-tab-content " id="fl-1">
                        <div class="row padding-right-20">
                            <div class="col-md-12 padding-bottom-0">
                                <div class="wrapper wrapper-content">
                                    <div class="row">
                                        <div class="form-group">
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label"><span class="maroon"></span>销售热线</label>
                                                <div class="col-sm-3 col-md-3  col-lg-2 ">
                                                    <input value="${plateformConfig.salesHotline!}" name="plateformConfig.salesHotline" class="form-control light-input" placeholder="">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label"><span class="maroon"></span>服务热线</label>
                                                <div class="col-sm-3 col-md-3  col-lg-2 ">
                                                    <input value="${plateformConfig.serviceHotline!}" name="plateformConfig.serviceHotline" class="form-control light-input" placeholder="">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon">&nbsp;</span>官方微信</label>
                                            <div class="col-sm-3">
                                                <input type="hidden" name="plateformConfig.weChatLogo" value="${plateformConfig.weChatLogo!}" class="pull-left form-control input-sm"/>
                                                <img class="img-rounded" src="${plateformConfig.weChatLogo!}" style="max-height:50px;"/>
                                                <input type="button" class="button browserButton" value="选择文件" style="line-height: normal"/>
                                                <span class="help-block"><span class="maroon"></span>建议300*300像素；格式jpg</span>
                                            </div>
                                        </div>

                                    </div>
                                </div>

                            </div>
                        </div>
                    </div>
                    <div class="colorful-tab-content " id="fl-2">
                        <div class="row padding-right-20">
                            <div class="col-md-12 padding-bottom-0">
                                <div class="wrapper wrapper-content">
                                    <div class="row">
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon"></span>一级代理费用</label>
                                            <div class="col-sm-3 col-md-3  col-lg-2 ">
                                                <input name="plateformConfig.oneAgentMoney" value="${plateformConfig.oneAgentMoney!0.00}"  class="form-control light-input"  >
                                            </div>
                                            <span class="color_hint">请务必与一级代理商收款码金额保持一致</span>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon">&nbsp;</span>一级代理商收款码</label>
                                            <div class="col-sm-3">
                                                <input type="hidden" name="plateformConfig.oneAgentReceiptQrcode" value="${plateformConfig.oneAgentReceiptQrcode!}" class="pull-left form-control input-sm"/>
                                                <img class="img-rounded" src="${plateformConfig.oneAgentReceiptQrcode!}" style="max-height:60px;"/>
                                                <input type="button" class="button browserButton" value="选择文件" style="line-height: normal"/>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon"></span>二级代理费用</label>
                                            <div class="col-sm-3 col-md-3  col-lg-2 ">
                                                <input name="plateformConfig.twoAgentMoney" value="${plateformConfig.twoAgentMoney!0.00}"  class="form-control light-input">
                                            </div>
                                            <span class="color_hint">请务必与二级代理商收款码金额保持一致</span>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon">&nbsp;</span>二级代理商收款码</label>
                                            <div class="col-sm-3">
                                                <input type="hidden" name="plateformConfig.twoAgentReceiptQrcode" value="${plateformConfig.twoAgentReceiptQrcode!}" class="pull-left form-control input-sm"/>
                                                <img class="img-rounded" src="${plateformConfig.twoAgentReceiptQrcode!}" style="max-height:60px;"/>
                                                <input type="button" class="button browserButton" value="选择文件" style="line-height: normal"/>
                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon"></span>三级代理费用</label>
                                            <div class="col-sm-3 col-md-3  col-lg-2 ">
                                                <input name="plateformConfig.threeAgentMoney" value="${plateformConfig.threeAgentMoney!0.00}" minlength="2" class="form-control light-input">
                                            </div>
                                            <span class="color_hint">请务必与三级代理商收款码金额保持一致</span>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon">&nbsp;</span>三级代理商收款码</label>
                                            <div class="col-sm-3">
                                                <input type="hidden" name="plateformConfig.threeAgentReceiptQrcode" value="${plateformConfig.threeAgentReceiptQrcode!}" class="pull-left form-control input-sm"/>
                                                <img class="img-rounded" src="${plateformConfig.threeAgentReceiptQrcode!}" style="max-height:60px;"/>
                                                <input type="button" class="button browserButton" value="选择文件" style="line-height: normal"/>
                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon"></span>直属(一级)代理商推荐收益</label>
                                            <div class="">
                                                <input style="width: 100px;float: left;margin-left: 15px" name="plateformConfig.firstAgentRecommendPercent" value="${plateformConfig.firstAgentRecommendPercent!'0'}" class="form-control light-input" placeholder="请输入分享提成" data-rule-required="true" >
                                                <label class="control-label" style="margin-left: 5px;float: left;width: 50px!important;text-align: left;">%</label>
                                            </div>
                                            <span class="color_hint">例如:A推荐B成为代理,A会获取B缴纳金额的百分比</span>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon"></span>直属(二级)代理商推荐收益</label>
                                            <div class="">
                                                <input style="width: 100px;float: left;margin-left: 15px" name="plateformConfig.secondAgentRecommendPercent" value="${plateformConfig.secondAgentRecommendPercent!'0'}" class="form-control light-input" placeholder="请输入分享提成" data-rule-required="true" >
                                                <label class="control-label" style="margin-left: 5px;float: left;width: 50px!important;text-align: left;">%</label>
                                            </div>
                                            <span class="color_hint">例如:A推荐B成为代理,B推荐C成为代理,A会获取C缴纳金额的百分比</span>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon"></span>直属(三级)代理商推荐收益</label>
                                            <div class="">
                                                <input style="width: 100px;float: left;margin-left: 15px" name="plateformConfig.thirdAgentRecommendPercent" value="${plateformConfig.thirdAgentRecommendPercent!'0'}" class="form-control light-input" placeholder="请输入分享提成" data-rule-required="true" >
                                                <label class="control-label" style="margin-left: 5px;float: left;width: 50px!important;text-align: left;">%</label>
                                            </div>
                                            <span class="color_hint">例如:A推荐B成为代理,B推荐C成为代理,C推荐D成为代理,A会获取D缴纳金额的百分比</span>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon"></span>直荐商户收益</label>
                                            <div class="">
                                                <input style="width: 100px;float: left;margin-left: 15px" name="plateformConfig.firstBusinessRecommendPercent" value="${plateformConfig.firstBusinessRecommendPercent!'0'}" class="form-control light-input" placeholder="请输入分享提成" data-rule-required="true" >
                                                <label class="control-label" style="margin-left: 5px;float: left;width: 50px!important;text-align: left;">%</label>
                                            </div>
                                            <span class="color_hint">例如:A推荐B成为商户,A会获取B订单收益的百分比</span>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon"></span>直属(一级)代理商推荐商户收益</label>
                                            <div class="">
                                                <input style="width: 100px;float: left;margin-left: 15px" name="plateformConfig.secondBusinessRecommendPercent" value="${plateformConfig.secondBusinessRecommendPercent!'0'}" class="form-control light-input" placeholder="请输入分享提成" data-rule-required="true" >
                                                <label class="control-label" style="margin-left: 5px;float: left;width: 50px!important;text-align: left;">%</label>
                                            </div>
                                            <span class="color_hint">例如:A推荐B成为代理商,A会获取B推荐商户收益的百分比</span>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label"><span class="maroon"></span>直属(二级)代理商推荐商户收益</label>
                                            <div class="">
                                                <input style="width: 100px;float: left;margin-left: 15px" name="plateformConfig.thirdBusinessRecommendPercent" value="${plateformConfig.thirdBusinessRecommendPercent!'0'}" class="form-control light-input" placeholder="请输入分享提成" data-rule-required="true" >
                                                <label class="control-label" style="margin-left: 5px;float: left;width: 50px!important;text-align: left;">%</label>
                                            </div>
                                            <span class="color_hint">例如:A推荐B成为代理商,B推荐C成为代理,A会获取C推荐商户收益的百分比</span>
                                        </div>

                                    </div>
                                </div>

                            </div>
                        </div>
                    </div>

                    <div class="form-group" style="margin-top: 24px">
                        <label class="col-sm-2 control-label "></label>
                        <div class="col-sm-4 col-sm-offset-0">
                            <button class="hive-btn hive-btn-primary margin-left-8" type="submit">&nbsp;提交&nbsp;
                            </button>
                        </div>
                    </div>
                </form>

            </div>

        </div>
    </div>

</div>
<script src="https://static.9hive.cn/global/vendor/jquery/jquery-2.1.4.min.js"></script>
<script src="https://static.9hive.cn/global/vendor/bootstrap-3.3.7/bootstrap.min.js"></script>
<script src="https://static.9hive.cn/global/js/core.min.js"></script>
<script src="https://static.9hive.cn/mmenu/assets/js/site.min.js"></script>
<script src="https://static.9hive.cn/global/vendor/swiper-tab/colorfulTab.js"></script>
<script src="https://static.9hive.cn/global/vendor/nprogress/nprogress.js"></script>

<script src="https://static.9hive.cn/global/vendor/bootstrap-select/bootstrap-select.min.js"></script>
<script src="https://static.9hive.cn/global/vendor/bootstrap-table-1.11/bootstrap-table.min.js"></script>
<script src="https://static.9hive.cn/global/vendor/bootstrap-table-1.11/locale/bootstrap-table-zh-CN.min.js"></script>
<script src="https://static.9hive.cn/global/vendor/bootstrap-export/bootstrap-export.js"></script>
<script src="https://static.9hive.cn/global/vendor/jquery-export/jquery-export.js"></script>
<script src="https://static.9hive.cn/global/js/components/bootstrap-select.min.js"></script>
<script src="https://static.9hive.cn/global/vendor/swiper-tab/colorfulTab.js"></script>

<!--校验-->
<script src="https://static.9hive.cn/global/vendor/jquery-ajaxform/ajax-form.js"></script>
<script src="https://static.9hive.cn/global/vendor/jquery-validate/jquery.validate.min.js"></script>
<script src="https://static.9hive.cn/global/vendor/jquery-validate/additional-methods.min.js"></script>
<script src="https://static.9hive.cn/global/vendor/jquery-validate/localization/messages_zh.min.js"></script>
<!--校验-->


<!-- 工具选项卡 swiper-tab-->
<!--自定义js，将页面逻辑写在这里-->
<script src="https://static.9hive.cn/hive/assets/js/swipertab.js?v=1.0.1"></script>

<script src="https://static.9hive.cn/global/vendor/inside/inside20170925.js"></script>
<script src="https://static.9hive.cn/global/vendor/file/uploadify/jquery_uploadify.js"></script>
<script type="text/javascript">
    var uploadUrl="/file/uploadfile?shopId=plateform&type=d";
    var browserUrl="/file/browser?shopId=plateform";
</script>
<script src="https://static.9hive.cn/global/vendor/file/file.js"></script>
<script type="text/javascript">
    $(function () {
        $("input.browserButton").browser();
    })
</script>


<script>


</script>
</body>
</html>